form encoding problems

2003-03-03 Thread Jeremy Quinn
Hi All, This is possibly a trivial mistake ... but I never came across it before. I have a search form for searching Lucene. Mozilla confirms the page is in UTF-8 encoding. I enter a string with accented characters into the query field. eg 'éclair' (e-acute). The form comes back

Re: form encoding problems

2003-03-03 Thread Torsten Curdt
UTF-8. (The value has been picked up by an InputModule and fed via the SiteMap to XSLT). The query string in the URL reads 'query=%C3%A9clair', which are the unicodes for 'A-tilde' and 'Copyright' characters. (Which would imply to me that the Browser incorrectly encoded the query.) How do other

RE: form encoding problems

2003-03-03 Thread Artur Bialecki
encoding problems Hi All, This is possibly a trivial mistake ... but I never came across it before. I have a search form for searching Lucene. Mozilla confirms the page is in UTF-8 encoding. I enter a string with accented characters into the query field. eg 'éclair' (e-acute

Re: form encoding problems

2003-03-03 Thread Konstantin Piroumian
characters into the query field. eg 'éclair' (e-acute). The form comes back with the string now reading 'éclair'. (A-tilde, Copyright sign). Mozilla says the encoding is still UTF-8. (The value has been picked up by an InputModule and fed via the SiteMap to XSLT). The query string in the URL reads

Re: form encoding problems

2003-03-03 Thread Jeremy Quinn
in NS/Mozilla. Sorry, cannot really remember what is was :-/ Have a beer, maybe you will remember ;) I have a search form for searching Lucene. Mozilla confirms the page is in UTF-8 encoding. I enter a string with accented characters into the query field. eg 'clair' (e-acute). The form comes back

getting column names or values by variable

2001-11-09 Thread Roger I Martin PhD
+xsl:template match="esql:row-results//esql:get-string-by-variable" name="get-string-by-variable" + xsp:expr + xsl:call-template name="get-string-encoded" + xsl:with-param name="column-spec"xsl:value-of select="@column"//xsl:with-param + xsl:with-

RE: extending the Request object!?

2003-06-30 Thread Geissel, Adrian
it not make more sense to put this functionality into a specialised utility class for manipulating a request query string - SOC and all that... BTW, what is a MultiPartRequest? A special implementation of Request to decode and provide access to MIME-multipart encoded submissions (required for posting

Re: extending the Request object!?

2003-06-30 Thread Enke, Michael
have such functionallity somewhere? Does it not make more sense to put this functionality into a specialised utility class for manipulating a request query string - SOC and all that... But the Request object is used nearly everywhere in cocoon. And with the extended Request we have nothing

cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp EsqlConnection.java EsqlHelper.java EsqlQuery.java

2002-05-16 Thread haul
; -byte[] buffer = null; +/** returns Unicode encoded string from CLOB or String column + */ +public final static String getStringOrClob(ResultSet set, String column) throws RuntimeException { + +String result = null; try { -Clob

cvs commit: xml-cocoon2/src/documentation/xdocs/userdocs/xsp esql.xml

2002-11-17 Thread haul
(Error getting clob data: + e.getMessage()); } @@ -153,10 +156,11 @@ /** returns Unicode encoded string from CLOB or String column */ -public final static String getStringOrClob(ResultSet set, int column) throws java.lang.Exception { +public final static

cvs commit: xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/java esql.xsl

2001-08-06 Thread haul
-xsp:expr - xsl:call-template name=get-string-encoded -xsl:with-param name=column-spec_esql_i/xsl:with-param -xsl:with-param name=resultset_esql_query.resultset/xsl:with-param - /xsl:call-template -/xsp:expr

cvs commit: xml-cocoon2/src/documentation/xdocs/userdocs/xsp esql.xml

2002-01-31 Thread haul
/ + /xsp:content +/xsl:template + xsl:template match=esql:execute-query//esql:error-results xsp:content xsl:apply-templates/ @@ -781,7 +840,7 @@ /xsl:template xspdoc:descreturns the value of the given column as a string/xspdoc:desc -xsl:template match=esql:row-results//esql:get

cvs commit: xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/java esql.xsl

2001-07-27 Thread haul
-xsp:expr - xsl:call-template name=get-string-encoded -xsl:with-param name=column-spec_esql_i/xsl:with-param -xsl:with-param name=resultset_esql_query.resultset/xsl:with-param - /xsl:call-template -/xsp:expr

[ESQL/PATCH] proposed changes

2001-07-11 Thread Christian Haul
the type-specific get methods and write out the result fragment yourself./xspdoc:desc @@ -644,12 +738,35 @@ /xsl:otherwise /xsl:choose /xsp:param -xsp:expr - xsl:call-template name=get-string-encoded -xsl:with-param

cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/java esql.xsl

2002-04-19 Thread froehlich
) - /xsl:otherwise -/xsl:choose - ); - _esql_node.appendChild(document.createTextNode( -xsl:call-template name=get-string-encoded - xsl:with-param name=column-spec_esql_i/xsl:with-param - xsl:with-param name

cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/java esql.xsl

2002-04-09 Thread haul
- ); - _esql_node.appendChild(document.createTextNode( -xsl:call-template name=get-string-encoded - xsl:with-param name=column-spec_esql_i/xsl:with-param - xsl:with-param name=resultset_esql_query.getResultSet()/xsl:with-param -/xsl:call-template

cvs commit: xml-cocoon2/src/documentation/xdocs/howto/xmlform-wizard howto-xmlform-wizard-1.xml

2002-06-10 Thread shannon
be +unique within the form, but it is most convenient to name the view after +the base of the filename. So in this case, we will name our view +#34;registration#34;. In step 4 static string constants are used to unify +the naming and allow for easier maintenance /p

cvs commit: xml-cocoon2/src/documentation/xdocs/howto/xmlform-wizard howto-xmlform-wizard-1.xml

2002-06-10 Thread shannon
logic in the action. The name of the view should simply be +unique within the form, but it is most convenient to name the view after +the base of the filename. So in this case, we will name our view +#34;registration#34;. In step 4 static string constants are used